libmyc.a:mymath.o myfile.o
	ar -rc $@ $^
mymath.o:mymath.c
	gcc -c mymath.c 
myfile.o:myfile.c
	gcc -c myfile.c

.PHONY:clean
clean:
	rm -rf *.o libmyc.a mylib

.PHONY:output
output:
	mkdir -p mylib/include
	mkdir -p mylib/lib
	cp -rf *.h mylib/include
	cp -rf *.a mylib/lib
	tar -czf mylib.tgz mylib
